<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<div id="dialog-merchant" title="添加商户" style="background:white">
	<div id="dialog-popup">
		<div class="sect">
			<s:form namespace="/admin" id="form-merchant" action="addMerchant" method="post"
					theme="simple">
				<input type="hidden" name="merchant.password"/>

				<div class="wholetip clear">
					<h3>1、基本信息</h3>
				</div>
				<div class="field">
					<label for="txt_name">商户名称</label>
					<s:textfield id="txt_name" size="10" name="merchant.name"
								 cssClass="f-input"/>
				</div>
				<div class="field">
					<label for="txt_url">网站地址</label>
					<s:textfield id="txt_url" size="100" name="merchant.url"
								 cssClass="f-input"/>
				</div>
				<div class="field">
					<label for="txt_phone">联系电话</label>
					<s:textfield id="txt_phone" sizse="100" name="merchant.phoneNumber"
								 cssClass="f-input"/>
				</div>
				<div class="field">
					<label for="txt_address">地址</label>
					<s:textarea id="txt_address" name="merchant.address"
								cssClass="f-textarea" rows="5" cols="45"/>
				</div>
				<div class="wholetip clear">
					<h3>2、银行信息</h3>
				</div>
				<div class="field">
					<label for="txt_bankName">开户行</label>
					<s:textfield id="txt_bankName" size="100" name="merchant.bankName"
								 cssClass="f-input"/>
				</div>
				<div class="field">
					<label for="txt_bankNumber">银行账号</label>
					<s:textfield id="txt_bankNumber" size="100" name="merchant.bankNumber"
								 cssClass="f-input"/>
				</div>
				<s:submit name="commit" id="submit" cssClass="formsubmit"/>

			</s:form>
		</div>
	</div>
</div>